package com.java1234.dao;

import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;

import com.java1234.model.Librarian;
import com.java1234.model.SystemAdministrator;

/**
 * 系统管理员Dao类
 * 
 * @author 15375
 *
 */
public interface ISystemAdministratorDao {

	public SystemAdministrator login(Connection con, SystemAdministrator systemAdministrator) throws Exception;// 登录验证

	public ResultSet list(Connection con, SystemAdministrator systemAdministrator) throws Exception;// 系统管理员信息查询

	public int add(Connection con, SystemAdministrator systemAdministrator) throws Exception;// 系统管理员信息增加

	public int update(Connection con, SystemAdministrator systemAdministrator) throws Exception;// 系统管理员信息修改

	public int delete(Connection con, String systemAdministratorAccount) throws Exception;// 系统管理员信息删除
}
